//
//  AppDelegate+JCBrightness.h
//  QDMetroClient
//
//  Created by YueWen on 2018/12/28.
//  Copyright © 2018 YueWen. All rights reserved.
//

#import "QDMetroAppDelegate.h"

NS_ASSUME_NONNULL_BEGIN

/// 调整亮度的方法
@interface QDMetroAppDelegate (JCBrightness)


/**
 程序将要离开活动的时候，还原亮度
 在applicationWillResignActive:中调用
 */
- (void)brightnessGraduallyResumeBrightnessWhenWillResignActive;



/**
 程序进入前台时，亮度调整到扫码界面
 在applicationDidBecomeActive:中调用
 */
- (void)brightnessGraduallySetBrightnessHighWhenBecomeActive;

@end

NS_ASSUME_NONNULL_END
